﻿<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             x:Class="SilverlightApplication1.App">
    <Application.Resources>
        <Style x:Key="BackBorderLoading" TargetType="Border">
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF000000"/>
                        <GradientStop Color="#FFFFFFFF" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="BackButton" TargetType="Button">
            <Setter Property="Background">
                <Setter.Value>
                    <RadialGradientBrush Center="0.2,0.3">
                        <RadialGradientBrush.GradientStops>
                            <GradientStop Offset="0.1" Color="LightBlue"/>
                            <GradientStop Offset="0.8" Color="SteelBlue"/>
                            <GradientStop Offset="1" Color="Black"/>
                        </RadialGradientBrush.GradientStops>
                    </RadialGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="BackButtonSimple" TargetType="Button">
            <Setter Property="Background" Value="Red"/>
            <Setter Property="Foreground" Value="OrangeRed"/>
        </Style>
        <Style x:Key="BackGrid" TargetType="Grid">
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush>
                        <LinearGradientBrush.GradientStops>
                            <GradientStop Offset="0.3" Color="AliceBlue"/>
                            <GradientStop Offset="0.7" Color="SteelBlue"/>
                            <GradientStop Offset="1" Color="Black"/>
                        </LinearGradientBrush.GradientStops>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="BackGridRadial" TargetType="Grid">
            <Setter Property="Background">
                <Setter.Value>
                    <RadialGradientBrush Center="0.2,0.3">
                        <RadialGradientBrush.GradientStops>
                            <GradientStop Offset="0.1" Color="LightBlue"/>
                            <GradientStop Offset="0.8" Color="SteelBlue"/>
                            <GradientStop Offset="1" Color="Black"/>
                        </RadialGradientBrush.GradientStops>
                    </RadialGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="TextBlockRadial" TargetType="TextBlock">
            <Setter Property="Foreground">
                <Setter.Value>
                    <RadialGradientBrush Center="0.2,0.3">
                        <RadialGradientBrush.GradientStops>
                            <GradientStop Offset="0.1" Color="LightBlue"/>
                            <GradientStop Offset="0.8" Color="SteelBlue"/>
                            <GradientStop Offset="1" Color="Black"/>
                        </RadialGradientBrush.GradientStops>
                    </RadialGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="BackBorderRadial" TargetType="Border">
            <Setter Property="Background">
                <Setter.Value>
                    <RadialGradientBrush Center="0.4,0.3">
                        <RadialGradientBrush.GradientStops>
                            <GradientStop Offset="0.1" Color="LightBlue"/>
                            <GradientStop Offset="0.8" Color="SteelBlue"/>
                            <GradientStop Offset="1" Color="WhiteSmoke"/>
                        </RadialGradientBrush.GradientStops>
                    </RadialGradientBrush>
                </Setter.Value>
            </Setter>
            <Setter Property="BorderBrush" Value="SteelBlue"/>
            <Setter Property="BorderThickness" Value="2"/>
        </Style>
        <Style x:Key="StrokeRectangle" TargetType="Rectangle">
            <Setter Property="Stroke">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFFFFFFF"/>
                        <GradientStop Color="#FF000000" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="SPListBox" TargetType="StackPanel">
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFFFFFFF"/>
                        <GradientStop Color="SteelBlue" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="BackBorderKey" TargetType="Border">
            <Setter Property="Background">
                <Setter.Value>
                    <RadialGradientBrush Center="0.3,0.3" SpreadMethod="Repeat">
                        <RadialGradientBrush.GradientStops>
                            <GradientStop Offset="0.3" Color="Silver"/>
                            <GradientStop Offset="0.5" Color="LightSteelBlue"/>
                            <GradientStop Offset="1" Color="WhiteSmoke"/>
                        </RadialGradientBrush.GradientStops>
                    </RadialGradientBrush>
                </Setter.Value>
            </Setter>
            <Setter Property="BorderBrush" Value="SteelBlue"/>
            <Setter Property="BorderThickness" Value="2"/>
        </Style>
    </Application.Resources>
</Application>
